package com.zzptc.easyshop.dao;

import com.zzptc.easyshop.vo.Users;
import com.zzptc.easyshop.vo.VO;

import java.sql.SQLException;
import java.util.List;

public interface IDAO {

    boolean insert(VO vo)throws SQLException;

    List getAll() throws SQLException;

    boolean deleteByID(VO vo)throws SQLException;

    boolean update(VO vo)throws SQLException;

    VO getByID(VO vo)throws SQLException;

    boolean login(Users user);
}
